<div id="sidebar">
  <div id="sidebar-bgtop"></div>
  <div id="sidebar-content" style="padding: 0px;">
    <ul>
      <li>
        <% if logged_in? %>
          Logged in as <h3><%= h(current_user.login.to_s.titleize) %></h3>
          <small><%= link_to 'logout', logout_path, :class => 'red_link' %></small>
        <% else %>
          Anonymous user
          <h3><%= link_to 'Login', login_path, :class => 'red_link' %>
          &nbsp;or&nbsp;
          <%= link_to 'Sign up', signup_path, :class => 'red_link' %></h3>
        <% end %>
      </li>
    </ul>
  </div>
  <div id="sidebar-bgbtm"></div>
</div>